export const option = {
  column: [
    {
      label: '租赁楼宇',
      type: 'el-select',
      prop: 'buildingId',
      url: '/park/all/building',
      requestLabel: 'name',
      requestValue: 'id',
      disabled: true,
      rules: [
        {
          required: true
        }
      ]
    },
    {
      label: '租赁起止日期',
      prop: 'time',
      type: 'el-date-picker',
      clearable: false,
      attr: {
        format: 'yyyy-MM-dd',
        valueFormat: 'yyyy-MM-dd'
        // pickerOptions: {
        //   disabledDate(time) {
        //     return time.getTime() < Date.now() - 3600 * 1000 * 24
        //   }
        // }
      },
      rules: [
        {
          required: true
        }
      ]
    },
    {
      label: '租赁合同',
      slotName: 'upload',
      prop: 'rent',
      rules: [
        {
          required: true
        }
      ]
    }
  ]
}
